let finance = [
  {
    path: '/finance',
    name: "finance",
    meta: { title: '', login: true },
    redirect: '/finance/settlement'
  },  
  {
    path: '/finance/settlement',
    name: "finance_settlement",
    component:  resolve => require(['@/components/subpage/finance/settlement.vue'], resolve),
    meta: { title: '结算', login: true}
  },
  {
    path: '/finance/bill',
    name: "finance_bill",
    component:  resolve => require(['@/components/subpage/finance/bill.vue'], resolve),
    meta: { title: '结算单', login: true}
  },
  {
    path: '/finance/detail/bill_detail',
    name: "finance_bill_detail",
    component:  resolve => require(['@/components/subpage/finance/detail/bill_detail.vue'], resolve),
    meta: { title: '结算单详情', login: true, isDetail: true, model: '商家入驻', reload: true, onCrub: true}
  },
  {
    path: '/finance/service',
    name: "finance_service",
    component:  resolve => require(['@/components/subpage/finance/service.vue'], resolve),
    meta: { title: '服务单价格列表', login: true}
  },
  // {
  //   path: '/finance/giveaway',
  //   name: "finance_giveaway",
  //   component:  resolve => require(['@/components/subpage/finance/giveaway.vue'], resolve),
  //   meta: { title: '赠品设置', login: true}
  // },
  {
    path: '/finance/funds',
    name: "finance_funds",
    component:  resolve => require(['@/components/subpage/finance/funds.vue'], resolve),
    meta: { title: '资金流水', login: true}
  }, 
  {
    path: '/finance/bankCards',
    name: "finance_bankCards",
    component:  resolve => require(['@/components/subpage/finance/bankCards.vue'], resolve),
    meta: { title: '银行卡管理', login: true}
  },
  {
    path: '/finance/recharge',
    name: "finance_recharge",
    component:  resolve => require(['@/components/subpage/finance/recharge.vue'], resolve),
    meta: { title: '账户充值', login: true}
  },
  {
    path: '/finance/withdraw',
    name: "finance_withdraw",
    component:  resolve => require(['@/components/subpage/finance/withdraw.vue'], resolve),
    meta: { title: '账户提现', login: true}
  },
];
export default finance